projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b3343
)
Disable/enable screen updates around process_all_updates to speed up rendering
author
Richard Hult
<richard@imendio.com>
Thu, 5 Feb 2009 07:23:58 +0000
(08:23 +0100)
committer
Alexander Larsson
<alex@localhost.localdomain>
Thu, 2 Apr 2009 08:16:29 +0000
(10:16 +0200)
gdk/quartz/gdkwindow-quartz.c
patch
|
blob
|
history
diff --git
a/gdk/quartz/gdkwindow-quartz.c
b/gdk/quartz/gdkwindow-quartz.c
index 5c01f7cf4586376badb89fc73af605c94decf075..0586460a1f22d36692e47ea4443996714585dd5f 100644
(file)
--- a/
gdk/quartz/gdkwindow-quartz.c
+++ b/
gdk/quartz/gdkwindow-quartz.c
@@
-406,6
+406,8
@@
void
_gdk_windowing_before_process_all_updates (void)
{
in_process_all_updates = TRUE;
+
+ NSDisableScreenUpdates ();
}
void
@@
-432,6
+434,8
@@
_gdk_windowing_after_process_all_updates (void)
g_slist_free (old_update_nswindows);
in_process_all_updates = FALSE;
+
+ NSEnableScreenUpdates ();
}
static void